<%-- 
    Document   : view
    Created on : 2014-7-29, 16:34:26
    Author     : coolwind
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="coolwind">
        <title>${blogEntry.getBlogTitle()}</title>
        <link href="<c:url value="/js/libs/twitter-bootstrap/css/bootstrap.min.css"/>" rel="stylesheet"/>
        <link href="<c:url value="/common/css/common.css"/>" rel="stylesheet" />
        <link href="<c:url value="/common/css/view-blog.css"/>" rel="stylesheet" />
        <script type="text/javascript" src="<c:url value="/js/libs/jquery/jquery.min.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/libs/twitter-bootstrap/js/bootstrap.min.js"/>"></script>
    </head>
    <body>
        <c:import url="/common/header" />
        <div class="view-container">
            <div class="view-banner">
                <table>
                    <td>
                        <p class="banner-inline">日志</p>
                    </td>
                    <td align="right">
                        <a  class="banner-inline" href="<c:url value="/blog"/>">返回日志列表</a>
                    </td>
                </table>
            </div>
            <div class="view-content">
                <h2 style="line-height: 1;">${blogEntry.getBlogTitle()}</h2>
                <p>由 <b>${userName}</b> 在${blogEntry.getBlogDate()}发表于 <b>${tagName}</b> </p>
                <div class="view-blog">
                    ${blogEntry.getBlogContent()}
                </div>
            </div>
        </div>

        <c:import url="/common/footer"/>
    </body>
</html>
